﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ueEngine.Biz.Inf.LogicEntity;

namespace ueEngine.Web.WebLogic.Model
{
    public class RecruitingVModel
    {
        public string RecruitType { get; set; }
        /// <summary>
        /// 如果是选择的供职企业，则表示供职企业Id
        /// </summary>
        public int DepositCompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// (如果是新添加公司)公司描述
        /// </summary>
        public string CompanyDetail { get; set; }
        /// <summary>
        /// 行业分类
        /// </summary>
        public int CompanyBusiness { get; set; }
        /// <summary>
        /// 企业类型
        /// </summary>
        public int CompanyType { get; set; }
        /// <summary>
        /// 企业规模
        /// </summary>
        public int CompanyDimensions { get; set; }


        /// <summary>
        /// 招募标题
        /// </summary>
        public string Caption { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactMan { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactPhone { get; set; }
        /// <summary>
        /// 工作区域
        /// </summary>
        public int WorkArea { get; set; }
        /// <summary>
        /// 工作地点
        /// </summary>
        public string WorkAddress { get; set; }
        ///// <summary>
        ///// 招募描述
        ///// </summary>
        //public string Description { get; set; }

        /// <summary>
        /// 是否将该招募信息以模板进行保存
        /// </summary>
        public string CreateTempelte { get; set; }
        /// <summary>
        /// 是否将该企业信息以模板进行保存
        /// </summary>
        public string CreateCompanyTemp { get; set; }
        /// <summary>
        /// 是否启用邮件通知
        /// </summary>
        public string EnableEmail { get; set; }
        /// <summary>
        /// 用以接收简历的邮箱
        /// </summary>
        public string ReceiveEmail { get; set; }
        public string QQ { get; set; }
        /// <summary>
        /// 当前(最多)创建了多少个职位
        /// </summary>
        public int Position { get; set; }
        public bool EnabelMap { get; set; }
        public string Map { get; set; }
    }

    public class PositionVModel
    {
        /// <summary>
        /// 职位名称
        /// </summary>
        public string PositionName { get; set; }
        /// <summary>
        /// 招募人数
        /// </summary>
        public int Vacancy { get; set; }
        /// <summary>
        /// 职位类型
        /// </summary>
        public int PositionType { get; set; }
        /// <summary>
        /// 最小薪酬
        /// </summary>
        public int MinSalary { get; set; }
        /// <summary>
        /// 最高薪酬
        /// </summary>
        public int MaxSalary { get; set; }
        /// <summary>
        /// 薪酬结算周期(160：小时 40：天 8：周 1：月)
        /// </summary>
        public int Period { get; set; }
        /// <summary>
        /// 性别要求 -1：不限 0：女 1：男
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 学位要求
        /// </summary>
        public int Degree { get; set; }
        /// <summary>
        /// 职位补充说明
        /// </summary>
        public string PositionDescript { get; set; }
        /// <summary>
        /// 是否要求有经验 on:true 
        /// </summary>
        public string Experienced { get; set; }

        /// <summary>
        /// 是否加急 off:普通，on:加急
        /// </summary>
        public string PositionPriority { get; set; }
    }
}